package a.pojo;

import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.SEQUENCE;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * U 
 */
@Entity
@Table(name = "z_users", schema = "NTAX")
public class U implements java.io.Serializable {

	// Fields

	private Integer id;
	private String uname;
	private String pwd;
	private String remark;
	private String utype;
	private String dq;

	// Constructors

	/** default constructor */
	public U() {
	}

	/** full constructor */
	public U(String uname, String pwd, String remark, String utype,String dq) {
		this.uname = uname;
		this.pwd = pwd;
		this.remark = remark;
		this.utype = utype;
		this.dq=dq;
	}

	// Property accessors
	@Id
	//@Column(name = "ID", unique = true, nullable = false, precision = 22, scale = 0)
	@Column(name = "ID",  nullable = false, precision = 22, scale = 0)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "UNAME", length = 80)
	public String getUname() {
		return this.uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	@Column(name = "PWD", length = 400)
	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	@Column(name = "REMARK", length = 800)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "UTYPE", length = 40)
	public String getUtype() {
		return this.utype;
	}

	public void setUtype(String utype) {
		this.utype = utype;
	}

	@Column(name="DQ",length=100)
	public String getDq() {
		return dq;
	}
	
	
	public void setDq(String dq) {
		this.dq = dq;
	}

}